//package com.gip.controller;
//
//import org.springframework.ui.Model;
//import org.springframework.web.bind.annotation.ControllerAdvice;
//import org.springframework.web.bind.annotation.ExceptionHandler;
//
//import javax.servlet.http.HttpSession;
//
//@ControllerAdvice
//public class ExceptionController {
//    @ExceptionHandler(Exception.class)
//    public String error(HttpSession session, Exception e, Model model){
//        model.addAttribute("msg",e.getMessage());
//        return "error";
//    }
//}
